Skip to content

chore: depend on agent-core v0.1.0 (uv git source, public, zero CI-auth)#21

Merged
Svaag merged 1 commit into
mainfrom
chore/pin-agent-core
Jun 29, 2026
Merged

chore: depend on agent-core v0.1.0 (uv git source, public, zero CI-auth)#21
Svaag merged 1 commit into
mainfrom
chore/pin-agent-core

Conversation

@Svaag

@Svaag Svaag commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Pins the now-public AS215932/agent-core at tag v0.1.0 as a real dependency via uv
git source, so the Phase 2 flag-gated emitter's dependency is always present (no optional
import needed at runtime; zero CI-auth because the repo is public).

  • pyproject.toml: agent-core added to dependencies + [tool.uv.sources] (tag v0.1.0).
  • uv.lock: regenerated; pins agent-core git commit 591e3a0.

Behavior

  • Emission still OFF by defaultHYRULE_KNOWLEDGE_AGENT_CORE_TRACE gates it. This PR
    only guarantees availability; enable per-environment via deploy env.
  • Local gate green: ruff clean, mypy --strict src clean (36 files), pytest 97 passed
    (the emitter tests now run instead of being skipped, since agent-core is installed).

🤖 Generated with Claude Code

…on availability

Pin the now-public AS215932/agent-core at tag v0.1.0 via uv git source, making the flag-gated agent-core TraceEvent/CostUsage emitter's dependency always present (zero CI-auth: public repo). Emission stays OFF by default (HYRULE_KNOWLEDGE_AGENT_CORE_TRACE); this only guarantees availability so it can be enabled via deployment env. uv.lock pins commit 591e3a0. ruff + mypy --strict clean; suite 97 passed (emitter tests now run in CI).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Svaag Svaag merged commit e7e0b3b into main Jun 29, 2026
1 check passed
@Svaag Svaag deleted the chore/pin-agent-core branch June 29, 2026 02:22

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5f4111ad99

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread pyproject.toml
testpaths = ["tests"]

[tool.uv.sources]
agent-core = { git = "https://github.com/AS215932/agent-core", tag = "v0.1.0" }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Install git before syncing the git dependency

This new git source makes the documented container build hit a Git clone during RUN uv sync --frozen --no-dev --extra mcp in Dockerfile:24, but that image only installs ca-certificates and curl before the sync step, not git (Dockerfile:12-14). uv shells out to git for this source, so a clean python:3.12-slim build will fail before the MCP image can be produced; either install git in the image before syncing or avoid a git source for the runtime build.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant